package cn.sciento.farm.devicemanager.api.jsonrpc;

import cn.sciento.farm.devicemanager.dao.model.ResponseMessage;
import com.googlecode.jsonrpc4j.JsonRpcMethod;
import com.googlecode.jsonrpc4j.JsonRpcService;

/**
 * 基地管理
 */
@JsonRpcService(value = "rpc/hardware.area")
public interface AreaJsonApi {
    @JsonRpcMethod("delete_area")
    ResponseMessage deleteArea(Integer areaId);

    @JsonRpcMethod("delete_land")
    ResponseMessage deleteLand(Integer landId);

    ResponseMessage judgeDeleteArea();

    ResponseMessage judgeDeleteLand();
}
